package com.jic.product.service;


import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.product.entity.Warehouse;
import com.jic.product.manage.request.WarehouseRequest;
import com.jic.product.manage.response.WarehouseResponse;

import java.util.List;

/**
* 仓库表
* @author :
* @email :
* @since : 2020-01-16 04:47:43
* @version : v1.0.0
*/
public interface WarehouseService {

    long insert(Warehouse warehouse);

    long delete(Long id);

    long update(Warehouse warehouse);

    Warehouse queryByPrimaryKey(Long id);

    List<Warehouse> query(Warehouse warehouse);

    PageResult<WarehouseResponse> queryPage(WarehouseRequest warehouse, Page pageQuery);

}
